package com.iyeed.jbpm06.demo03.handler;

import org.jbpm.graph.def.ActionHandler;
import org.jbpm.graph.exe.ExecutionContext;

public class ThreadWaitAction implements ActionHandler {

	private static final long serialVersionUID = 3380102940219829117L;

	@Override
	public void execute(ExecutionContext executionContext) throws Exception {
		for (int i = 0; i < 5; i++) {
			System.out.println("当前i的值：" + i);
			Thread.sleep(1000);
		}
	}

}
